package com.letv.core.bean;

import java.util.ArrayList;

import com.letv.core.bean.LetvBaseBean;

public class TabTextLinkBean implements LetvBaseBean {

	private static final long serialVersionUID = 1L;

    /**
     * CMS中的记录唯一标示id（个性化推荐数据无此属性）
     * */
    private String cmsid;

    /**
	 * 专辑id
	 * */
	private int pid;

	/**
	 * 视频id
	 * */
	private int vid;
	/**
	 * 专题ID
	 * */
	private String zid;

	/**
	 * 视频名称
	 * */
	private String nameCn;

	/**
	 * 副标题
	 * */
	private String subTitle;

	/**
	 * 频道id
	 * */
	private int cid;

	/**
	 * 影片来源标示：1-专辑,3-视频
	 * */
	private int type;

    /**
     * 专辑类型
     */
    private String albumType;

    /**
     * 视频类型
     */
    private String videoType;

    /**
     * 是否是栏目:true - 是，false - 否
     */
    private boolean varietyShow;

	/**
	 * 点击展示方式：1-半屏播放器 2-全屏无专辑单视频 3-全屏播放直播流 4-外跳web 5-内嵌webview 6-进入精品推荐页
	 * 7-频道入口引导（点击进入对应的频道）
	 * */
	private int at;

	/**
	 * 总集数
	 * */
	private String episode;

	/**
	 * 跟播的当前总集数
	 * */
	private String nowEpisodes;

	/**
	 * 是否完结 1:完结;0未完结
	 * */
	private int isEnd;

	/**
	 * 1:可以播放;0:不可以播放
	 * */
	private int play;

	/**
	 * 1:外跳，0:不外跳
	 * */
	private int jump;

	/**
	 * 1:需要支付;0:免费
	 * */
	private int pay;

	/**
	 * 盖章类型：1-最新，2-最热，3-独播，4-大结局，5-花絮，6-预告，7-高清，8-完结，9-经典(5.3版本意义已经改变)
	 * */
	private String tag;
	
	/**
	 * 5.3版本统一改成该字段，焦点图和block都会吐出对应的图片
	 */
	private String mobilePic;

	/*
	 * 
	 */
	private String padPic;
	
	/**
	 * 直播编号
	 * */
	private String streamCode;

	/**
	 * 外跳web地址
	 * */
	private String webUrl;

	/**
	 * 内嵌webview地址
	 * */
	private String webViewUrl;
	/**
	 * 直播流地址
	 */
	private String streamUrl;

	/**
	 * 过期时间戳
	 */
	private String tm;
	
	/**
	 * 时长（秒），只针对单视频（体育，nba，纪录片）
	 */
	private String duration;
	
	/**
	 * 音乐类型，歌手字段
	 */
	private String singer;
	
	/**
     *是否为自动个性化推荐内容：true - 是，false - 否
     * */
    private String is_rec;

    /*
     * extends_extendRange: "1"
     extends_extendCid: ""
     extends_extendPid: ""
     */
    private String extendsExtendRange = null ;//整个APP起作用  优先级最高
    private String extendsExtendCid = null ;//针对当前CID  优先级中等
    private String extendsExtendPid = null ;//针对当前PID  优先级最低

    public boolean getExtendsExtendRange() {
        return (extendsExtendRange!= null && "1".equalsIgnoreCase(extendsExtendRange));
    }

    public void setExtendsExtendRange(String extendsExtendRange) {
        this.extendsExtendRange = extendsExtendRange;
    }

    public String getExtendsExtendCid() {
        return extendsExtendCid;
    }

    public void setExtendsExtendCid(String extendsExtendCid) {
        this.extendsExtendCid = extendsExtendCid;
    }

    public String getExtendsExtendPid() {
        return extendsExtendPid;
    }

    public void setExtendsExtendPid(String extendsExtendPid) {
        this.extendsExtendPid = extendsExtendPid;
    }

    public void setIs_rec(String is_rec){
        this.is_rec = is_rec;
    }

    public String getIs_rec(){
        return is_rec;
    }

	/**
	 * @return the zid
	 */
	public String getZid() {
		return zid;
	}

	/**
	 * @param zid the zid to set
	 */
	public void setZid(String zid) {
		this.zid = zid;
	}

	/**
	 * 分类标签列表
	 * */
	private ArrayList<SiftKVPBean> showTagList;

	public String getStreamUrl() {
		return streamUrl;
	}

	public void setStreamUrl(String streamUrl) {
		this.streamUrl = streamUrl;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getVid() {
		return vid;
	}

	public void setVid(int vid) {
		this.vid = vid;
	}

	public String getNameCn() {
		return nameCn;
	}

	public void setNameCn(String nameCn) {
		this.nameCn = nameCn;
	}

	public String getSubTitle() {
		return subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getAt() {
		return at;
	}

	public void setAt(int at) {
		this.at = at;
	}

	public String getEpisode() {
		return episode;
	}

	public void setEpisode(String episode) {
		this.episode = episode;
	}

	public String getNowEpisodes() {
		return nowEpisodes;
	}

	public void setNowEpisodes(String nowEpisodes) {
		this.nowEpisodes = nowEpisodes;
	}

	public int getIsEnd() {
		return isEnd;
	}

	public void setIsEnd(int isEnd) {
		this.isEnd = isEnd;
	}

	public int getPlay() {
		return play;
	}

	public void setPlay(int play) {
		this.play = play;
	}

	public int getJump() {
		return jump;
	}

	public void setJump(int jump) {
		this.jump = jump;
	}

	public int getPay() {
		return pay;
	}

	public void setPay(int pay) {
		this.pay = pay;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getMobilePic() {
		return mobilePic;
	}

	public void setMobilePic(String mobilePic) {
		this.mobilePic = mobilePic;
	}

	public String getStreamCode() {
		return streamCode;
	}

	public void setStreamCode(String streamCode) {
		this.streamCode = streamCode;
	}

	public String getWebUrl() {
		return webUrl;
	}

	public void setWebUrl(String webUrl) {
		this.webUrl = webUrl;
	}

	public String getWebViewUrl() {
		return webViewUrl;
	}

	public void setWebViewUrl(String webViewUrl) {
		this.webViewUrl = webViewUrl;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public ArrayList<SiftKVPBean> getShowTagList() {
		return showTagList;
	}

	public void setShowTagList(ArrayList<SiftKVPBean> showTagList) {
		this.showTagList = showTagList;
	}

	/**
	 * @return the tm
	 */
	public String getTm() {
		return tm;
	}

	/**
	 * @param tm
	 *            the tm to set
	 */
	public void setTm(String tm) {
		this.tm = tm;
	}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public String getSinger() {
		return singer;
	}

	public void setSinger(String singer) {
		this.singer = singer;
	}

    public String getCmsid() {
        return cmsid;
    }

    public void setCmsid(String cmsid) {
        this.cmsid = cmsid;
    }

    public String getAlbumType() {
        return albumType;
    }

    public void setAlbumType(String albumType) {
        this.albumType = albumType;
    }

    public String getVideoType() {
        return videoType;
    }

    public void setVideoType(String videoType) {
        this.videoType = videoType;
    }

    public boolean isVarietyShow() {
        return varietyShow;
    }

    public void setVarietyShow(boolean varietyShow) {
        this.varietyShow = varietyShow;
    }

    public String getPadPic() {
		return padPic;
	}

	public void setPadPic(String padPic) {
		this.padPic = padPic;
	}

	@Override
    public String toString() {
        return "SurroundVideoMetaDataPlayerLibs{" +
                "cmsid='" + cmsid + '\'' +
                ", pid=" + pid +
                ", vid=" + vid +
                ", zid='" + zid + '\'' +
                ", nameCn='" + nameCn + '\'' +
                ", subTitle='" + subTitle + '\'' +
                ", cid=" + cid +
                ", type=" + type +
                ", albumType='" + albumType + '\'' +
                ", videoType='" + videoType + '\'' +
                ", varietyShow=" + varietyShow +
                ", at=" + at +
                ", episode='" + episode + '\'' +
                ", nowEpisodes='" + nowEpisodes + '\'' +
                ", isEnd=" + isEnd +
                ", play=" + play +
                ", jump=" + jump +
                ", pay=" + pay +
                ", tag='" + tag + '\'' +
                ", mobilePic='" + mobilePic + '\'' +
                ", streamCode='" + streamCode + '\'' +
                ", webUrl='" + webUrl + '\'' +
                ", webViewUrl='" + webViewUrl + '\'' +
                ", streamUrl='" + streamUrl + '\'' +
                ", tm='" + tm + '\'' +
                ", duration='" + duration + '\'' +
                ", singer='" + singer + '\'' +
                ", is_rec='" + is_rec + '\'' +
                ", extendsExtendRange='" + extendsExtendRange + '\'' +
                ", extendsExtendCid='" + extendsExtendCid + '\'' +
                ", extendsExtendPid='" + extendsExtendPid + '\'' +
                ", showTagList=" + showTagList +
                '}';
    }
}
